package com.chinasoft.news.service;

import com.chinasoft.news.pojo.ArticleCate;

import java.util.List;

public interface ArticleCateService {

    List<ArticleCate> getArticleCate();

    Boolean insertCate(ArticleCate articleCate);

    ArticleCate getCateByName(String name);

    Boolean deleteCate(Integer id);

    ArticleCate getCateById(Integer id);

    Boolean updateCateById(String name,String alias,Integer id);
}
